//
//  SSSBaseNavigationViewController.m
//  SSSMerchant
//
//  Created by 谢曦 on 2017/3/23.
//  Copyright © 2017年 xnxin. All rights reserved.
//

#import "SSSBaseNavigationViewController.h"

@interface SSSBaseNavigationViewController ()

@end

@implementation SSSBaseNavigationViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated {
    if (self.viewControllers.count > 0) {
      
        viewController.hidesBottomBarWhenPushed = YES;
    }
    [super pushViewController:viewController animated:YES];
    
    
}
-(UIViewController *)popViewControllerAnimated:(BOOL)animated
{
    
       return  [super popViewControllerAnimated:animated];
    
}

@end
